package com.xc.freeapp.dao;

import java.util.List;
import java.util.Map;

import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import com.xc.freeapp.entity.Messages;

public interface MessagesDao {
	/***
	 * 消息中心
	 * @param userid
	 * @return   
	 */
       public    List<Messages>    querymessages(Map<String, String> map,PageBounds pageBounds);
       public    List<Messages>    querymessagesBytype(Map<String, Object> map,PageBounds pageBounds);
       public    List<Messages>    querymessagesBytypeV2(Map<String, Object> map,PageBounds pageBounds);
       public    int   delmessages(String id);
       
       public    int   updamessagesstatus(String id);
       
       public Messages selectByPrimaryKey(Integer mid);
       
       
       
}
